<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<?php
	$u=$_POST["uName"];
	$p=$_POST["pw"];
	if($u=="admin" && $p=="123")
		echo "登录成功";
	else echo "登录失败";

echo date("Y年m月d日 H:i:s");
	switch (date("w")) {
		case '0':
			echo "星期日";
			break;
		case '1':
			echo "星期一";
			break;
		case '2':
			echo "星期二";
			break;
		case '3':
			echo "星期三";
			break;
		case '4':
			echo "星期四";
			break;
		case '5':
			echo "星期五";
			break;
		case '6':
			echo "星期六";
			break;

	}


	?>
</body>
</html>